package org.bjtu.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Orggroup entity. @author MyEclipse Persistence Tools
 */

public class Orggroup extends com.janus.persistence.Entity implements java.io.Serializable {

	// Fields

	private Long id;
	private Orgrole orgrole;
	private Member member;
	private String orggname;
	private Date orggcreatedate;

	// Constructors

	/** default constructor */
	public Orggroup() {
	}

	/** minimal constructor */
	public Orggroup(Long id, String orggname) {
		this.id = id;
		this.orggname = orggname;
	}


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Orgrole getOrgrole() {
		return this.orgrole;
	}

	public void setOrgrole(Orgrole orgrole) {
		this.orgrole = orgrole;
	}

	public Member getMember() {
		return this.member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public String getOrggname() {
		return this.orggname;
	}

	public void setOrggname(String orggname) {
		this.orggname = orggname;
	}

	public Date getOrggcreatedate() {
		return this.orggcreatedate;
	}

	public void setOrggcreatedate(Date orggcreatedate) {
		this.orggcreatedate = orggcreatedate;
	}


}